# Maintainer: Jonas Heinrich <onny@project-insanity.org>
pkgname=pongoos-loader
pkgver=0_git20210704
pkgrel=1
pkgdesc="Loader for Android on iPhone"
url="https://github.com/checkra1n/pongoOS"
arch="all"
license="MIT"
depends="python3 py3-usb"
options="!check" # upstream does not provide tests
_commit="217eae6f2c540e4b6950c70a2c0d3dcf574d95b2"

source="pongoOS-$_commit.tar.gz::https://github.com/checkra1n/pongoOS/archive/$_commit.tar.gz"
builddir="$srcdir/PongoOS-$_commit/scripts"

package() {
	install -Dm755 load_linux.py "$pkgdir"/usr/bin/pongoos-loader
}

sha512sums="
ae935da97e0ba9753bee5f7f95c85d0c390e0e4ec110770f98218a5da716378cabb86952b867164f90327f8a684bbbe1dd4fa81a6e6e4d999b3d674d58ddd92f  pongoOS-217eae6f2c540e4b6950c70a2c0d3dcf574d95b2.tar.gz
"
